package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketUser;

import java.util.List;
import java.util.Map;


public interface WxAuthService {
    MarketUser login(String username, String password);


//    void logout(String token);

    MarketUser findUser(String username);

    int regCaptcha(MarketUser marketUser,Object mobile, String number);

    MarketUser findAlreadyMobile(Object mobile);

    List<MarketUser> findListAlreadyMobile(Object mobile);

    MarketUser register(Map<String, Object> map);

    Integer reset(String tempMobile, String password);
}
